package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

public class Product {
    @JsonProperty("sku_id")
    @JsonIgnore
    private Integer skuId;

    @JsonProperty("sku_name")
    @JsonIgnore
    private String skuName;

    @JsonProperty("sku_price")
    @JsonIgnore
    private BigDecimal skuPrice;

    @JsonProperty("sku_photo")
    @JsonIgnore
    private String skuPhoto;

    @JsonProperty("sku_count")
    @JsonIgnore
    private Integer skuCount;

    @JsonProperty("sku_is_sale")
    @JsonIgnore
    private Integer isSale;

    @JsonProperty("sku_category_id")
    @JsonIgnore
    private Integer skuCategoryId;

    @JsonProperty("sku_brand_id")
    @JsonIgnore
    private Integer skuBrandId;

    private Brand brand;

    private Category category;


    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public String getSkuPhoto() {
        return skuPhoto;
    }

    public void setSkuPhoto(String skuPhoto) {
        this.skuPhoto = skuPhoto;
    }

    public Integer getSkuCount() {
        return skuCount;
    }

    public void setSkuCount(Integer skuCount) {
        this.skuCount = skuCount;
    }

    public Integer getIsSale() {
        return isSale;
    }

    public void setIsSale(Integer isSale) {
        this.isSale = isSale;
    }

    public Integer getSkuCategoryId() {
        return skuCategoryId;
    }

    public void setSkuCategoryId(Integer skuCategoryId) {
        this.skuCategoryId = skuCategoryId;
    }

    public Integer getSkuBrandId() {
        return skuBrandId;
    }

    public void setSkuBrandId(Integer skuBrandId) {
        this.skuBrandId = skuBrandId;
    }

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }
}
